<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout :: common_header(~{::title})">
    <title>工作总结记录成长-OA办公系统</title>
</head>
<body th:replace="layout :: common_body(~{::div.layui-body})">
<div class="layui-body" style="padding:15px;">
    <blockquote class="layui-elem-quote layui-text">
        记录工作，记录成长
    </blockquote>

    <form class="layui-form" action="" method="post">

<!--        <div class="layui-form-item">-->
<!--            <div class="layui-inline">-->
<!--                <label class="layui-form-label">日期</label>-->
<!--                <div class="layui-input-inline">-->
<!--                    <input type="text" name="date" id="date" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">今日总结</label>
            <div class="layui-input-block">
                <textarea placeholder="今日总结" lay-verify="required" name="summary" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">明日计划</label>
            <div class="layui-input-block">
                <textarea placeholder="明日计划" lay-verify="required" name="plan" class="layui-textarea"></textarea>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                <input type="checkbox" name="tag" value="工作很顺利" title="工作很顺利">
                <input type="checkbox" name="tag" value="碰到困难" title="碰到困难" >
                <input type="checkbox" name="tag" value="努力学习中" title="努力学习中">
                <input type="checkbox" name="tag" value="收获满满" title="收获满满">
                <input type="checkbox" name="tag" value="按计划推进" title="按计划推进">
                <input type="checkbox" name="tag" value="太忙了" title="太忙了">
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">有没有什么建议</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" name="suggest" class="layui-textarea"></textarea>
            </div>
        </div>
        <!--<div class="layui-form-item layui-form-text">
          <label class="layui-form-label">编辑器</label>
          <div class="layui-input-block">
            <textarea class="layui-textarea layui-hide" name="content" lay-verify="content" id="LAY_demo_editor"></textarea>
          </div>
        </div>-->
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>


    <script>
        layui.use(['form', 'layedit', 'laydate'], function(){
            var form = layui.form
                ,layer = layui.layer
                ,layedit = layui.layedit
                ,laydate = layui.laydate;

            //日期
            laydate.render({
                elem: '#date'
            });



            //监听提交
            // form.on('submit(demo1)', function(data){
            //     layer.alert(JSON.stringify(data.field), {
            //         title: '最终的提交信息'
            //     })
            //     return false;
            // });


        });
    </script>
</div>
</body>
</html>
